﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lg.Core.Form
{
    public class Option
    {
        public string? Id { get; set; }
        /// <summary>
        /// 选项文本
        /// </summary>
        public string? Text { get; set; }
        /// <summary>
        /// 选项value
        /// </summary>
        public string? Value { get; set; }
        /// <summary>
        /// 逻辑控制其它字段是否显示(存字段唯一标识，被选中的字段默认不显示)
        /// </summary>
        public List<string>? ControlItems { get; set; }
        /// <summary>
        /// 选项图标
        /// </summary>
        public string? Icon { get; set; }
        /// <summary>
        /// 该项是否需要其它补充信息，需要的话将在下方显示单行文本用于采集其它补充信息
        /// </summary>
        public bool NeedOtherValue { get; set; }
    }
}
